home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
ovoc.zip
/
TESTVOC.PRG
< prev
next >
Wrap
Text File
|
1993-06-10
|
967b
|
36 lines
// Class TVocFile for CA-Clipper, use examples
// (c) Antonio Linares, 1993
//----------------------------------------------------------------------------//
function Main( cFileName )
local oVoc := TVocFile():Use( "boing.voc" ) // let's have some fun!
if oVoc:lHardware
oVoc:nVolVocL = 12
oVoc:nVolVocR = 12
oVoc:nDelay = 8
oVoc:Play()
endif
oVoc:Use( "ManOver.voc" ) // quite wet...
if oVoc:lHardware
oVoc:nDelay = 12
oVoc:Play()
endif
oVoc:Use( "MySound.voc" ) // let's create a VOC file
if oVoc:lHardware
Alert( "Press a key to start;and again to stop recording" )
oVoc:nVolRec = 40
oVoc:Rec()
oVoc:Play() // let's listen it
endif
oVoc:Use()
return
//----------------------------------------------------------------------------//